#pragma once
#include "Image2D.h"
#include "IShader.h"

class IHudElement
{
public:
	IHudElement(Image2D* image, IShader* Shader,int positionX, int positionY);	
	~IHudElement(void);	
	void Update(int elapsedTime);
	void Draw(int elapsedTime);	
	int positionX;
	int positionY;

	Image2D* GetImage2D() { return image; }
	IShader* GetShader() { return shader; }	

private:
	Image2D* image;
	IShader* shader;
	RenderableObject obj;
	
};
